package com.nebula.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.nebula.pojo.FriendsApplication;
import com.nebula.pojo.FriendsApplicationKey;

public interface FriendsApplicationMapper {
    int deleteByPrimaryKey(FriendsApplicationKey key);

    int insert(FriendsApplication record);

    int insertSelective(FriendsApplication record);

    FriendsApplication selectByPrimaryKey(FriendsApplicationKey key);

    int updateByPrimaryKeySelective(FriendsApplication record);

    int updateByPrimaryKey(FriendsApplication record);
    
    int selectByKey(FriendsApplicationKey key);
    
    List<FriendsApplication> selectFriendsApplicationList(String username);
    
    int selectFriendsApplicationCount(String username);
    
    int updateViewByRespondent(String respondent);
    
}